const tableName = "Feedback";
let addFeedback = (content, phone, cb) => {
  let Feedbacks = new wx.BaaS.TableObject(tableName),
    Feedback = Feedbacks.create()

  let data = {
    content: content,
    phone: phone
  }

  Feedback.set(data)
    .save()
    .then(res => cb(res))
    .catch(err => console.dir(err))

}
module.exports = {
  addFeedback
}